package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 数据字典对象 tb_dictionary
 * 
 * @author lzd
 * @date 2024-09-10
 */
public class TbDictionary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 字典id */
    private Long dictionaryId;

    /** 字典名称 */
    @Excel(name = "字典名称")
    private String dictionaryName;

    /** pid */
    @Excel(name = "pid")
    private Long pid;

    /** 状态（0启用，1禁用） */
    @Excel(name = "状态", readConverterExp = "0=启用，1禁用")
    private String status;

    public void setDictionaryId(Long dictionaryId) 
    {
        this.dictionaryId = dictionaryId;
    }

    public Long getDictionaryId() 
    {
        return dictionaryId;
    }
    public void setDictionaryName(String dictionaryName) 
    {
        this.dictionaryName = dictionaryName;
    }

    public String getDictionaryName() 
    {
        return dictionaryName;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dictionaryId", getDictionaryId())
            .append("dictionaryName", getDictionaryName())
            .append("pid", getPid())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
